package com.zhongli.devplatform.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**重置密码dto
 * @author WuXiCheng
 * @version 1.0
 * @date 2020/7/23 21:56
 */
@Data
@ApiModel
public class RestPwdDTO {

    @NotNull(message = "原密码不能为空")
    @ApiModelProperty(value = "原密码必填", required = true)
    private String pwd;

    @NotNull(message = "新密码不能为空")
    @ApiModelProperty(value = "新密码必填", required = true)
    private String newPwd;

}
